package com.hsq.ndmall.promotion.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品限时购与商品关系表
 * 
 * @author Mr.Huang
 * @email 1607922199@qq.com
 * @date 2021-08-11 21:16:46
 */
@Data
@TableName("sms_flash_promotion_product_relation")
public class FlashPromotionProductRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	@ApiModelProperty(value = "编号")
	@TableId
	private Long id;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	private Long flashPromotionId;
	/**
	 * 编号
	 */
	@ApiModelProperty(value = "编号")
	private Long flashPromotionSessionId;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	private Long productId;
	/**
	 * 限时购价格
	 */
	@ApiModelProperty(value = "限时购价格")
	private BigDecimal flashPromotionPrice;
	/**
	 * 限时购数量
	 */
	@ApiModelProperty(value = "限时购数量")
	private Integer flashPromotionCount;
	/**
	 * 每人限购数量
	 */
	@ApiModelProperty(value = "每人限购数量")
	private Integer flashPromotionLimit;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
	private Integer sort;

}
